package com.learn.multi_thread.D_CompletableFuture.demo;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;

public class GoodService {
    public List<Goods> getGoods() {
        return Arrays.asList(
                new Goods(1, "goods1", new BigDecimal(100)),
                new Goods(2, "goods2", new BigDecimal(200)),
                new Goods(3, "goods3", new BigDecimal(300)),
                new Goods(4, "goods4", new BigDecimal(400)),
                new Goods(4, "goods5", new BigDecimal(500))
        );
    }
}
